import Vue from 'vue'
import { Button, Form, FormItem, Input, Icon, Menu, MenuGroup, MenuItem, Layout, Sider, Header, Content,
  Footer, Card, Table, Page, Message, Tooltip, Modal, ButtonGroup, DatePicker, Divider, Select, Option, RadioGroup,
  Radio  
} from 'view-design'

Vue.component('Button', Button)
Vue.component('Form', Form)
Vue.component('FormItem', FormItem)
Vue.component('Input', Input)
Vue.component('Icon', Icon)
Vue.component('Menu', Menu)
Vue.component('MenuItem', MenuItem)
Vue.component('MenuGroup', MenuGroup)
Vue.component('Layout', Layout)
Vue.component('Sider', Sider)
Vue.component('Header', Header)
Vue.component('Content', Content)
Vue.component('Footer', Footer)
Vue.component('Card', Card)
Vue.component('Table', Table)
Vue.component('Page', Page)
Vue.component('Tooltip', Tooltip)
Vue.component('Modal', Modal)
Vue.component('ButtonGroup', ButtonGroup)
Vue.component('DatePicker', DatePicker)
Vue.component('Divider', Divider)
Vue.component('Select', Select)
Vue.component('Option', Option)
Vue.component('RadioGroup', RadioGroup)
Vue.component('Radio', Radio)

Vue.prototype.$message = Message

import 'view-design/dist/styles/iview.css'
